package com.mylg.craw.house.lbs.gaode.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@Getter
@Setter
@ToString
@JsonNaming(PropertyNamingStrategies.LowerCaseStrategy.class)
@JsonIgnoreProperties(ignoreUnknown = true)
public class GeoCodeItem {
    @JsonProperty("formatted_address")
    private String formattedAddress;

    private String country;

    private String province;

    private String cityCode;

    private String city;

    private String district;

    private List<String> township;

    private String adCode;

    private String street;

    private Object number;

    //113.619528,34.737657
    private String location;

    private String level;
}
